// import {
// 	useDeletePic,
// 	useAfterRead
// } from "../hooks/useUpload"

import {
	useDeletePic,
	useAfterRead
} from "../../../report/hooks/useUpload";

/**
 * 事件上报-文件上传相关代码混入 
 */
export default {
	data() {
		return {
			cl_fileList: []
		}
	},
	methods: {
		// 删除图片
		clDeletePic(event) {
			this.cl_fileList = useDeletePic(event, thiscl_fileList);
			console.log("this.cl_fileList", this.cl_fileList);
		},
		async clAfterRead(event) {
			const {
				data
			} = await useAfterRead(event, this.cl_fileList);
			if (data) this.cl_fileList = data
			console.log("cl_fileList", this.cl_fileList);
		},
	}
}